package com.beizhen.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.beizhen.demo.entity.StuBase;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
* 基地表 Dao接口
*/
@Repository
public interface StuBaseDao extends BaseMapper<StuBase> {

    /**
     * 邓流洋 2020.08.01
     * 基地提交入驻审核
     */
    public int addStuBaseInfo(StuBase stuBase);
	
	
    //添加基地概况详情
    boolean update_Stubase_baseProfiles(@Param("b_id") Integer id,
                                        @Param("b_baseProfiles") String b_baseProfiles,
                                        @Param("b_baseProfilesPicture") String b_baseProfilesPicture);

    //添加基地接待详情
    boolean update_Stubase_baseReception(@Param("b_id") Integer id,
                                         @Param("b_baseReception") String b_baseReception,
                                         @Param("b_baseReceptionPicture") String b_baseReceptionPicture);

    //添加基地餐饮详情
    boolean update_Stubase_baseRepast(@Param("b_id") Integer id,
                                      @Param("b_baseRepast") String b_baseRepast,
                                      @Param("b_baseRepastPicture") String b_baseRepastPicture);
}
